package file_functions;

import java.util.Comparator;

class Comp_size_2 implements Comparator<Files_info>
{
    public int compare(Files_info entry1, Files_info entry2) 
    {
    		if (Integer.parseInt(entry1.size) < Integer.parseInt(entry2.size))
    			return (1);
    		else if (Integer.parseInt(entry1.size) > Integer.parseInt(entry2.size))
    			return (-1);
    		return (0);
    }
}
